#pragma once
//#include "Defines.h"
#include "Damage.h"
class Entity;

class Spell: public Entity
{
public:
	int id;
	core::vector3df last_position;
	int sType;
	int sLevel;
	int sDamage;
	scene::IParticleSystemSceneNode* PartSyst;
	int lifeTime;
	int calcDamage();
	Damage dam;
	
	void Destroy();
	void onCollide(Entity* e);
	void onCollide();
	void Update(float delta_time);

	Spell(void);
	~Spell(void);
};
